package com.designmodel.templatemodel;

import com.designmodel.templatemodel.datebase.MYSQL;
import com.designmodel.templatemodel.datebase.Oracle;

/**
 * Created by
 * 测试方法
 * @author touni
 * @date 2019/4/1
 * @time 18:15
 */
public class MainDemo {

    public static void main(String[] args) {
        Template mysql = new MYSQL();
        TransferTemplate.useTemplate(mysql);
        Template oracle = new Oracle();
        TransferTemplate.useTemplate(oracle);


    }

}
